import Vue from 'vue'
import Vuex from 'vuex'
import user from './modules/user'
import getters from './getters'

Vue.use(Vuex)

const store = () => new Vuex.Store({
  modules: {
    user,
  },
  getters,
  // state: {
  //   report: {},
  //   title: "",
  //   athor: "",
  //   date: ""
  // },
  // mutations: {
  //   createReport(state, report) {
  //     state.report = report;
  //   }
  // }
});

export default store